golang.org/x/net/http2/hpack.Decoder.maxStrLen (field)
10 uses
golang.org/x/net/http2/hpack (current package)
hpack.go#L84: maxStrLen int // 0 means unlimited
hpack.go#L123: d.maxStrLen = n
hpack.go#L270: if d.maxStrLen != 0 && int64(len(d.buf)) > 2*(int64(d.maxStrLen)+varIntOverhead) {
hpack.go#L400: if d.maxStrLen != 0 {
hpack.go#L401: if len(hf.Name) > d.maxStrLen || len(hf.Value) > d.maxStrLen {
hpack.go#L488: if d.maxStrLen != 0 && strLen > uint64(d.maxStrLen) {
hpack.go#L516: err := huffmanDecode(buf, d.maxStrLen, u.b)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)